import request from '@/utils/request'

/**
 * 获取订单数据列表
 *
 * @param {*} params
 * @returns
 */
export const getOrdersList = params => {
  return request({
    url: '/orders',
    method: 'get',
    params: params
  })
}

/**
 * 获取订单详情
 *
 * @param {*} params
 * @returns
 */
export const getOrderDetail = params => {
  return request({
    url: `/orders/${params}`,
    method: 'get'
  })
}

/*export const getKuaiDi = () => {
  return request({
    url: '/kuaidi/1106975712662',
    method: 'get'
  })
}*/
